"" Literal

Used to represent a String literal.

"string"

Part

Type

Description

string

String literal.

A string literal value.



Note

To write a String literal, just enclose the string in double quote marks. To write an empty String, write double quote marks with no space between them.


Example

This example concatenates two strings and stores the result in a variable:

Dim name as String
name="REAL"+"basic" //name = "REALbasic"

See Also

Str function.